package com.dycx.message.service;

import com.dycx.common.RestResponse;
import com.dycx.message.vendor.dto.MessageContentDTO;
import com.dycx.message.vendor.dto.RecipientDTO;

public interface MessageService{

    RestResponse<String> sendMessage(int messageTaskId, RecipientDTO recipient, MessageContentDTO messageContent);

    RestResponse<String> sendMessage(int messageTaskId, RecipientDTO recipient, MessageContentDTO messageContent, String url);

    Boolean sendWxTemplateMessage(int templateId, MessageContentDTO messageContent);
}
